Uses of Class
money.Money
Packages that use Money
-
Uses of Money in money
Modifier and TypeClassDescriptionclass
A MoneyBag defers exchange rate conversions.class
A simple amount of Money with its currency.Modifier and TypeMethodDescriptionabstract Money
Adds given money to this money.abstract Money
Money.multiply
(int factor) Multiplies this money by the given factor.MoneyBag.multiply
(int factor) SimpleMoney.multiply
(int factor) abstract Money
Money.negate()
Negates this money.MoneyBag.negate()
SimpleMoney.negate()
static Money
MoneyBag.of
(SimpleMoney... monies) Static "constructor" that creates appropriate concrete class based on the given parametersabstract Money
Subtracts given money from this money.